clear
set more off
set mem 500000

cd ""

cap log close
log using TABLE8.log, text replace

use "RESTAT_REFORMS.dta", clear

**Table 8: Growth regressions, 1990-2006 *****
preserve
keep if year>=1990 & year<=2006
sort ifs year
tsset ifs year
xi: reg GDP_Gr lGDP1 TR1 i.ifs i.year, vce(cl ifs)
outreg2 TR1 lGDP1 using TABLE8, bdec(3) nocon word title(Table 8. Reforms and Growth, 1990-2006) replace

foreach X in CUR100 AG NW DF BK SM CAP100 CAPRES CAPNONRES  {
xi: reg GDP_Gr lGDP1 `X'1 i.ifs i.year, vce(cl ifs)
outreg2 `X'1 lGDP1 using TABLE8, bdec(3) nocon word title(Table 8. Reforms and Growth, 1990-2006)
}
 
restore
log close
